import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {NotificationModule} from '../comm-components/notification/notification.module';
import { Ng2BootstrapModule,PaginationModule } from 'ngx-bootstrap';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { LoginComponent } from './login/login.component';
import { forgetPsdComponent } from './forgetPsd/forgetPsd.component';
import { IndexComponent } from './index.component';
import { IndexRoutingModule } from './index-routing.module';
import { IndexHeaderComponent } from '../comm-components/index-header/index-header.component';
import { IndexFooterComponent } from '../comm-components/index-footer/index-footer.component';
import {Index2Component} from './index/index.component';
import { MakeComponent } from './make/make.component';
import { NewsListComponent } from './news-list/news-list.component';
import { PartnerComponent } from './partner/partner.component';
import { AboutComponent } from './about/about.component';
import { RegisterComponent } from './register/register.component';
import { NewsDetailComponent } from './news-detail/news-detail.component';
// import { NewsComponent } from './news/news.component';
import { MinappIndexComponent } from './minapp-index/minapp-index.component';

@NgModule({
  imports: [
    CommonModule,
    IndexRoutingModule,
    Ng2BootstrapModule,
    FormsModule,
    ReactiveFormsModule,
    PaginationModule,
    NotificationModule
  ],
  declarations: [
    IndexComponent,
    IndexHeaderComponent,
    IndexFooterComponent,
    Index2Component,
    MakeComponent,
    NewsListComponent,
    PartnerComponent,
    AboutComponent,
    RegisterComponent,
    NewsDetailComponent,
    // NewsComponent,
    MinappIndexComponent,
    LoginComponent,
    forgetPsdComponent
  ]
})
export class IndexModule { }
